package com.aliwo.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xuyayuan
 * @data 2021年07月13日
 */
@RestController
public class UserController {
    @RequestMapping("/api/user/v1")
    public ResponseEntity<String> getUser() {
        String user = "{'username':'admin','sex':'男'}";
        return ResponseEntity.ok(user);
    }
}
